package com.web.dao.category;

import com.web.bean.category.Category;

import java.util.List;

/**
 * @autor Chen
 * 实现添加删除 书的分类
 * @create 2021--25-9:12
 * @desc
 */
public interface CategoryDao {
    List<Category> selectCategories() throws Exception;
    Category selectByCode(String code) throws Exception;
    void addCategory(Category category) throws Exception;
    void deleteCategory(String code) throws Exception;
}
